/* 仅首页额外 */
.hero {
  background: linear-gradient(135deg, #1a2a3a 0%, #0d1b2a 100%);
  color: #fff;
  text-align: center;
  padding: 8rem 0 6rem;
  background-image: url('../images/product/20251001132825_73.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  background-attachment: fixed;
}

@media (max-width: 1200px) {
  .hero { padding: 7rem 0 5rem; }
}

@media (max-width: 992px) {
  .hero { padding: 6rem 0 4rem; }
}

@media (max-width: 768px) {
  .hero { padding: 6rem 0 4rem; background-attachment: scroll; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
}

@media (max-width: 576px) {
  .hero { padding: 5rem 0 3rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.9rem; }
  .products-grid { grid-template-columns: 1fr; }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  font-weight: 700;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  color: #fff;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
  color: #0d1b2a;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  margin: 0.8rem auto;
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .products-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.product-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  overflow: hidden;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

.product-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.product-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.4rem;
  color: #0d1b2a;
}

.product-price {
  color: #e74c3c;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.product-card > ul {
  text-align: left;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
  flex-grow: 1;
  padding-left: 1.2rem;
}

.product-card > ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}

.product-card > ul li:before {
  content: "✓";
  color: #2ecc71;
  position: absolute;
  left: 0;
}

.product-applications {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.product-applications strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #0d1b2a;
}

.btn-small {
  display: inline-block;
  padding: .7rem 1.8rem;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  color: #fff;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-top: auto;
  text-align: center;
}

.btn-small:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}